{extend name='base'}
{block name='content'}
<!--页面主要内容-->
<main class="lyear-layout-content">

    <div class="container-fluid">

        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-header">
                        <h4>直播预约记录</h4>
                    </div>
                    <div class="card-body">

                        <div class="table-responsive">
                            <table class="table table-bordered">
                                <thead>
                                <tr>
                                    <th>编号</th>
                                    <th>手机号</th>
                                    <th>预约时间</th>
                                    <th>状态</th>
                                </tr>
                                </thead>
                                <tbody>
                                {foreach $reserveList as $v}
                                <tr>
                                    <td>{$v.livereserve_user_id}</td>
                                    <td>{$v.user.user_name}</td>
                                    <td>
                                        {if $v.livereserve_state==0}
                                        已完成
                                        {else /}
                                        预约中
                                        {/if}
                                    </td>
                                    <td>{:date('Y-m-d',$v.livereserve_creat_time)}</td>
                                </tr>
                                {/foreach}

                                </tbody>
                            </table>
                        </div>


                    </div>
                </div>
            </div>

        </div>

    </div>

</main>
<!--End 页面主要内容-->
<script>
    layui.use('layer', function(){
        var layer = layui.layer;

    };
</script>
{/block}